#ifndef _I_API_DEPTH_STENCIL_VIEW_H_
#define _I_API_DEPTH_STENCIL_VIEW_H_

#include "../interface/I_api_View.h"

class I_api_DepthStencilView : public I_api_View
{
protected:
	S_api_DepthStencilView_Desc m_Desc;

	I_api_DepthStencilView(I_api_Resource * pResource, const S_api_DepthStencilView_Desc * pDesc, I_api_Device * pDevice)
		: I_api_View(pResource, pDevice) { m_Desc = *pDesc; }
public:
	~I_api_DepthStencilView(){};

	void	GetDesc(S_api_DepthStencilView_Desc * pDesc) { if (pDesc) *pDesc = m_Desc; }

	virtual	void	*	Get()=0;
};

#endif